<%--
  Created by IntelliJ IDEA.
  com.qf.pojo.User: sun
  Date: 2022/9/7
  Time: 11:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录状态</title>
    <style>
        h1 {
            color: red;
        }
    </style>
</head>
<body>

<%
    String code = request.getParameter("code");
    if("1".equalsIgnoreCase(code)) {
%>
<h1>登录失败, 验证码失效</h1>
<%
    }else if("2".equalsIgnoreCase(code)) {
%>
<h1>登录失败, 验证码输入错误</h1>
<%
    }else{
%>
<h1>登录失败, 用户名和密码错误</h1>
<%
    }
%>
</body>
</html>
